Espressif Systems /ESP32-S2 /I2C0 /COMD12

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as COMD12

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0COMMAND0 (COMMAND_DONE)COMMAND_DONE

Description

I2C command register 12

Fields

COMMAND

This is the content of command 0. It consists of three parts:

op_code is the command, 0: RSTART. 1: WRITE. 2: READ. 3: STOP. 4: END.

byte_num represents the number of bytes that need to be sent or received.

ack_check_en, ack_exp and ack are used to control the ACK bit. See I2C cmd structure for more information.

COMMAND_DONE

When command 0 is done in I2C Master mode, this bit changes to high level.

Links

() ()